package com.wang.lottery.infrastucture.mapper;

import cn.bugstack.middleware.db.router.annotation.DBRouter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wang.lottery.domain.activity.model.po.UserTakeActivity;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author wjh
 * @create 2023-11-07 18:51
 * 用户领取活动表Mapper
 */
@Mapper
public interface UserTakeActivityMapper extends BaseMapper<UserTakeActivity> {

    /**
     * 插入用户领取活动信息
     *
     * @param userTakeActivity 入参
     * @return
     */
    @DBRouter(key = "uId")
    int insert(UserTakeActivity userTakeActivity);
}
